package com.emser.unc.serializable;


public class SellerDTO extends PersonDTO{

	private static final long serialVersionUID = 1L;
	private String userPassword;
	private String userName;
	private String serialDevice;
	private DataStoreVersion dataSellerversion;
	private transient LocationDTO location;

	public SellerDTO(){
		super();
		dataSellerversion = new DataStoreVersion();
	}
	
	public SellerDTO(String userName, String userPassword) {
        super();
        this.userName = userName;
        this.userPassword = userPassword;
    }
	
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	@Override
	public String toString() {
		return "Seller [userName = " + userName + ", password = " + userPassword + 
		"serialDevice = " + serialDevice + "]";
	}

	public String getSerialDevice() {
		return serialDevice;
	}

	public void setSerialDevice(String serialDevice) {
		this.serialDevice = serialDevice;
	}
	public LocationDTO getLocation() {
		return location;
	}

	public void setLocation(LocationDTO location) {
		this.location = location;
	}

	public void setDataSellerversion(DataStoreVersion dataSellerversion) {
		this.dataSellerversion = dataSellerversion;
	}

	public DataStoreVersion getDataSellerversion() {
		return dataSellerversion;
	}
}
